package com.tao.friend.domain.user;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tao.common.creo.domain.BaseEntity;
import lombok.Data;

@Data
@TableName("tb_user_exam")
public class UserExam extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    private Long userExamId;    //用户竞赛关系id
    private Long userId;    // 用户id
    private Long examId;    // 竞赛id
    private Integer score;  // 得分
    private Integer examRank;   // 排名
}
